package com.jiayu.seckilldemo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 测试页
 */

@Controller
@RequestMapping("/demo")
public class DemoController {


	@RequestMapping("/hello")
	public String hello(Model model){
		model.addAttribute("name","甲鱼");
		return "hello";
	}

}